/*
 * @Author: 0x9DEFA478
 * @Date: 2025-08-25 22:10:43
 * @LastEditTime: 2025-09-20 22:20:20
 * @LastEditors: 0x9DEFA478
 * @Description: 
 * 
 */
#ifndef hUtility_H_Trait_HPP_
#define hUtility_H_Trait_HPP_


namespace H{

  namespace Trait{

    template<typename T>
    struct is_const_compare{
      template<typename T_Obj,int (T_Obj::*)(const T_Obj&)const = &T_Obj::compare>
      static constexpr bool check(T_Obj* obj){return true;}
      static constexpr bool check(...){return false;}

      static constexpr bool value=check(static_cast<T*>(nullptr));
    };
    
  }

}


#endif //hUtility_H_Trait_HPP_
